Optimal. Leaf size=75 \[ \frac {2 b (5 A+3 C) E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \cos (c+d x)}}{5 d \sqrt {\cos (c+d x)}}+\frac {2 C \sin (c+d x) (b \cos (c+d x))^{3/2}}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.129, Rules used = {16, 3014, 2640, 2639} \[ \frac {2 b (5 A+3 C) E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \cos (c+d x)}}{5 d \sqrt {\cos (c+d x)}}+\frac {2 C \sin (c+d x) (b \cos (c+d x))^{3/2}}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2639
Rule 2640
Rule 3014
Rubi steps
\begin {align*} \int (b \cos (c+d x))^{3/2} \left (A+C \cos ^2(c+d x)\right ) \sec (c+d x) \, dx &=b \int \sqrt {b \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right ) \, dx\\ &=\frac {2 C (b \cos (c+d x))^{3/2} \sin (c+d x)}{5 d}+\frac {1}{5} (b (5 A+3 C)) \int \sqrt {b \cos (c+d x)} \, dx\\ &=\frac {2 C (b \cos (c+d x))^{3/2} \sin (c+d x)}{5 d}+\frac {\left (b (5 A+3 C) \sqrt {b \cos (c+d x)}\right ) \int \sqrt {\cos (c+d x)} \, dx}{5 \sqrt {\cos (c+d x)}}\\ &=\frac {2 b (5 A+3 C) \sqrt {b \cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{5 d \sqrt {\cos (c+d x)}}+\frac {2 C (b \cos (c+d x))^{3/2} \sin (c+d x)}{5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 71, normalized size = 0.95 \[ \frac {b \sqrt {b \cos (c+d x)} \left (2 (5 A+3 C) E\left (\left .\frac {1}{2} (c+d x)\right |2\right )+C \sin (2 (c+d x)) \sqrt {\cos (c+d x)}\right )}{5 d \sqrt {\cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.53, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (C b \cos \left (d x + c\right )^{3} + A b \cos \left (d x + c\right )\right )} \sqrt {b \cos \left (d x + c\right )} \sec \left (d x + c\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {3}{2}} \sec \left (d x + c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 1.33, size = 263, normalized size = 3.51 \[ \frac {2 \sqrt {b \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, b^{2} \left (8 C \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-8 C \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+5 A \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )+3 C \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )+2 C \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )\right )}{5 \sqrt {-b \left (2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-\left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )\right )}\, \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {b \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {3}{2}} \sec \left (d x + c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\left (C\,{\cos \left (c+d\,x\right )}^2+A\right )\,{\left (b\,\cos \left (c+d\,x\right )\right )}^{3/2}}{\cos \left (c+d\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________